<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ "/dir/";
%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<c:import url="hcommon.jsp"></c:import>
	<c:import url="header.jsp"></c:import>
	<c:import url="left.jsp"></c:import>
    <title>商家详情</title>
</head>
<body>
<div style="margin-top: 68px ;margin-left: 240px">
   <form >
			<table class="table table-hover">
				<tr>
					<th>商品编号</th>
					<th>商品名称</th>
					<th>商品图片</th>
					<th>商品价格</th>
					<th>商品评分</th>
					<th>商品类型编号</th>
					<th>商品种类名称</th>
					<th>商家编号</th>
					<th>商家名称</th>
				</tr>
					<tr>
						<td>${in.gid}</td>
						<td>${in.gname}</td>
						<td><IMG src="${bp}${in.gphoto}" width="60px" height="60px"></td>
						<td>${in.gprice}</td>
						<td>${in.ggrade}</td>
						<td>${in.tid}</td>
						<td>${in.type.tname}</td>
						<td>${in.sid}</td>
						<td>${in.store.sname}</td>
					</tr>
			</table>
		</form>
</div>
</body>
</html>